<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>开发实时时间转换v-time</title>
</head>
<body>
	<div id="app">
		<div v-time="timeNow"></div>
		<div v-time="timeBefore"></div>
	</div>
	
	<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
	<script src="time.js"></script>
	<script src="index.js"></script>
</body>
</html>